fmt.ss.accept (method)
32 uses
fmt (current package)
scan.go#L515: func (s *ss) accept(ok string) bool {
scan.go#L544: if s.accept("rR") && (!s.accept("uU") || !s.accept("eE")) {
scan.go#L549: if s.accept("aA") && (!s.accept("lL") || !s.accept("sS") || !s.accept("eE")) {
scan.go#L591: if !s.accept(digits) {
scan.go#L595: for s.accept(digits) {
scan.go#L619: s.accept("0")
scan.go#L651: s.accept(sign) // If there's a sign, it will be left in the token buffer.
scan.go#L705: if s.accept("nN") && s.accept("aA") && s.accept("nN") {
scan.go#L709: s.accept(sign)
scan.go#L711: if s.accept("iI") && s.accept("nN") && s.accept("fF") {
scan.go#L716: if s.accept("0") && s.accept("xX") {
scan.go#L721: for s.accept(digits) {
scan.go#L724: if s.accept(period) {
scan.go#L726: for s.accept(digits) {
scan.go#L730: if s.accept(exp) {
scan.go#L732: s.accept(sign)
scan.go#L734: for s.accept(decimalDigits + "_") {
scan.go#L745: parens := s.accept("(")
scan.go#L749: if !s.accept("+-") {
scan.go#L755: if !s.accept("i") {
scan.go#L758: if parens && !s.accept(")") {
scan.go#L947: if !s.accept("%") {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |